
package com.huaweicloud.saaslanding.install.dto;

import com.alibaba.fastjson.JSONObject;
import com.huaweicloud.saaslanding.install.properties.idaas.IdaasOrganization;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 功能描述
 *
 * @since 2022-05-24
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class IdaasOrganizationDto extends IdaasOrganization {

    /**
     * 组织树的层数
     */
    private String layer;

    /**
     * 组织类型
     */
    private String category;

    @Override
    public String toString() {
        return JSONObject.toJSONString(this);
    }

}
